﻿using System;
using System.Collections.Generic;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace ProjectCore.Domain.Model.Entity
{
    public  class Menus
    {
        //设置主键
        [Key]
        public int MenuID { get; set; }

        //上级ID
        public int ParentID { get; set; }

        //菜单名称
        [StringLength(20)]
        public string MenuName { get; set; }

        //链接地址
        [StringLength(100)]
        public string Link { get; set; }

        //图标
        [StringLength(50)]
        public string Icon { get; set; }

        //显示顺序
        public int Sort { get; set; }

        //备注
        [StringLength(50)]
        public string Spare { get; set; }

  

        








    }
}
